# 检查并创建 build 目录
BUILD_DIR="./build"
if [ ! -d "$BUILD_DIR" ]; then
    mkdir -p "$BUILD_DIR"
    cd "$BUILD_DIR"
    echo "Configuring project..."
    cmake ${CMAKEOPTIONS} ..
else
    cd "$BUILD_DIR"
fi

# 构建项目
echo "Building project..."
cmake --build . -j8


# sk-qsD16IhHnNdmJmMSmKtiITLSfHH8mJcaovLS016JNs3QCNKS